package com.alibaba.travel.comment.feign;

import com.alibaba.travel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/03/07/16:51
 * @Description:
 */
@FeignClient(value = "third-part")
public interface UserLikesRecordFeign {
    @PostMapping("/getLikes")
    R getLikesNumber(@RequestParam(name = "topicId") Long topicId);
}
